home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Super PC 34
/
Super PC 34 (Shareware).iso
/
spc
/
UTIL
/
DJGPP2
/
V2
/
DJLSR200.ZIP
/
src
/
libc
/
ansi
/
stdlib
/
abs.txh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-07-10
|
274 b
|
21 lines
@node abs, math
@subheading Syntax
@example
#include <stdlib.h>
int abs(int value);
@end example
@subheading Return Value
The absolute value of @code{value} is returned.
@subheading Example
@example
int sq = 7;
sq = sq * abs(sq) + 1;
@end example